<template>
  <img :src="bg" style="position: absolute;z-index: 0;width:100vw;height:100vh"/>
  <TopBar />
	<div class="flex">
		<div class="btn">性生理教育</div>
		<div class="btn">性别角色</div>
		<div class="btn">生理卫生教育</div>
		<div class="btn">隐私及自我保护</div>
		<div class="btn"  @click="emits('chooseModule','预防性侵')">预防性侵</div>
		<div class="btn">爱的教育</div>
	</div>
</template>
<script setup>
const bg='./img/bg.jpg'
import TopBar from './common/Top.vue'
const emits=defineEmits(['chooseModule'])
</script>
<style scoped>
.flex {
	width: 100%;
	height: 60%;
	display: flex;
	justify-content: space-around;
	flex-wrap: wrap;
	align-items: center;
	position: absolute;
	transform: translateY(-50%);
	top: 50%;
}
.btn {
	padding: 0.8vw 0;
	border: 2px solid #f1b6b4;
	border-radius: 2px;
	color: transparent;
	-webkit-text-fill-color: #ffffff;
	-webkit-text-stroke: 1px #f1b6b4;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 1.5rem;
	box-shadow: 3px 2px 4px 0px #f1b6b4b8;
	display: inline-block;
	user-select: none;
	margin: 0 5vw;
	width: 23vw;
	text-align: center;
	white-space: nowrap;
}
</style>
